@import "~pc/styles/lib_var.less";

.createSpaceWrapper {
  .upload {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tip {
    margin-top: 20px;
    color: var(--fc1);
  }

  .format {
    font-size: 12px;
    color: var(--secondLevelText);
    margin-top: 8px;
  }

  .process .fileName,
  .success .fileName {
    font-size: 16px;
    color: var(--firstLevelText);
    text-align: center;
    font-weight: normal;
    margin-top: 30px;
    letter-spacing: 0.5px;
  }

  .successProgress,
  .failProgress {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid;
    border-radius: 50%;
  }

  .successProgress {
    border-color: var(--primaryColor);
  }

  .failProgress {
    border-color: var(--errorColor);
  }

  .success,
  .process,
  .fail {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .process {
    .cancelBtn {
      margin-top: 50px;
      font-size: 15px;
      color: var(--primaryColor);
    }
  }

  .fail {
    .status,
    .tip,
    .reloadBtn {
      text-align: center;
    }

    .tip {
      color: var(--secondLevelText);
      font-weight: normal;
      font-size: 15px;
      margin: 8px 0 42px 0;
    }

    .reloadBtn {
      color: var(--primaryColor);
      font-weight: normal;
      font-size: 15px;
      cursor: pointer;
    }

    .status {
      margin: 30px 0 8px 0;
      font-size: 16px;
      color: var(--firstLevelText);
      font-weight: normal;
    }
  }

  :global {
    .ant-modal-header {
      padding-top: 24px;
    }

    .ant-modal-body {
      display: flex;
      align-items: center;
      justify-content: center;

      & > span {
        width: 100%;
        height: 100%;
      }
    }

    .ant-upload.ant-upload-drag {
      border-radius: 8px;
      border-color: var(--lineColor);
      background: none;
    }
  }
}
